package com.bdd.mapper;

import com.bdd.entity.Order;
import com.bdd.entity.ReturnItem;
import com.bdd.model.bo.ReturnItemBO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReturnItemDao {

    List<ReturnItemBO> selectBOListByReturnId(@Param("returnId") Integer returnId);

    ReturnItemBO selectByOrderItemId(@Param("itemId") Integer itemId);

    int insertSelective(ReturnItem record);

    int deleteByPrimaryKey(Integer id);
}
